/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jtmcraft.game.command;

import jtmcraft.game.Controller;
import jtmcraft.game.units.GameUnitFactory.GameUnitType;

/**
 *
 * @author oem
 */
public class CommandNewCarrier implements Command {
    
    private Controller controller;

    public CommandNewCarrier(Controller gameController) {
        this.controller = gameController;
    }
    
    public void execute() {
        controller.createMobileUnit( GameUnitType.worker, 150, 150 );
    }
    
}
